package cn.liuhuan1.blogsModel.service;


import cn.liuhuan1.blogsModel.dao.PhotoAlbumDao;
import cn.liuhuan1.webModelBean.api.PhotoAlbumImp;
import cn.liuhuan1.webModelBean.vo.PhotoAlbumVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PhotoAlbumService implements PhotoAlbumImp {
    @Autowired
    public PhotoAlbumDao photoAlbumDao;

    @Override
    public List<PhotoAlbumVo> getPhotoAlbum(){
        List<PhotoAlbumVo> photoAlbumVoList = photoAlbumDao.getPhotoAlbum();
        return photoAlbumVoList;
    }
}
